package com.loveling.scheduling;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;

/**
 * Created with IntelliJ IDEA.
 * User: liangjiefa
 * Date: 2017/5/31 22:27
 * To change this template use File | Settings | File Templates.
 */
//先关闭定时任务
//@Configuration
//@EnableScheduling
public class SchedulingConfig {


    //@Scheduled(cron = "0/20 * * * * ?")
    public void scheduler() {
        System.out.println(">>>>>>>>> SchedulingConfig.scheduler()");
    }

}
